package com.basic.sys.dao.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;
import java.util.Date;


public class DataMonitor {
    private Long id;

    private String pumpId;

    private String pumpName;

    private String dataType;

    private String oprBoId;

    private String oprUserName;

    private String description;

    private Long countVal;

    private Short isEnabled;

    private Short systemId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    public DataMonitor() {
    }

    public DataMonitor(Long id, String pumpId, String pumpName, String dataType, String oprBoId, String oprUserName, String description, Long countVal, Short isEnabled, Short systemId, Date createTime, Date updateTime) {
        this.id = id;
        this.pumpId = pumpId;
        this.pumpName = pumpName;
        this.dataType = dataType;
        this.oprBoId = oprBoId;
        this.oprUserName = oprUserName;
        this.description = description;
        this.countVal = countVal;
        this.isEnabled = isEnabled;
        this.systemId = systemId;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPumpId() {
        return pumpId;
    }

    public void setPumpId(String pumpId) {
        this.pumpId = pumpId;
    }

    public String getPumpName() {
        return pumpName;
    }

    public void setPumpName(String pumpName) {
        this.pumpName = pumpName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getOprBoId() {
        return oprBoId;
    }

    public void setOprBoId(String oprBoId) {
        this.oprBoId = oprBoId;
    }

    public String getOprUserName() {
        return oprUserName;
    }

    public void setOprUserName(String oprUserName) {
        this.oprUserName = oprUserName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getCountVal() {
        return countVal;
    }

    public void setCountVal(Long countVal) {
        this.countVal = countVal;
    }

    public Short getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(Short isEnabled) {
        this.isEnabled = isEnabled;
    }

    public Short getSystemId() {
        return systemId;
    }

    public void setSystemId(Short systemId) {
        this.systemId = systemId;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }



    public String toString() {
        return "DataMonitor{id = " + id + ", pumpId = " + pumpId + ", pumpName = " + pumpName + ", dataType = " + dataType + ", oprBoId = " + oprBoId + ", oprUserName = " + oprUserName + ", description = " + description + ", countVal = " + countVal + ", isEnabled = " + isEnabled + ", systemId = " + systemId + ", createTime = " + createTime + ", updateTime = " + updateTime + "}";
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 获取
     * @return updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }
}